define({ "api": [
  {
    "group": "商品信息",
    "type": "get",
    "url": "/api/pro",
    "title": "获取商品数据",
    "version": "0.0.0",
    "description": "<p>获取所有商品数据</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/pro"
      }
    ],
    "filename": "api/pro.js",
    "groupTitle": "商品信息",
    "name": "GetApiPro"
  },
  {
    "group": "商品信息",
    "type": "get",
    "url": "/api/pro/detail",
    "title": "获取商品详情数据",
    "version": "0.0.0",
    "description": "<p>根据商品id，获取商品详情数据</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>商品id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/pro/detail"
      }
    ],
    "filename": "api/pro.js",
    "groupTitle": "商品信息",
    "name": "GetApiProDetail"
  },
  {
    "group": "商品信息",
    "type": "get",
    "url": "/api/pro/kind",
    "title": "根据指定字段，获取分类数据",
    "version": "0.0.0",
    "description": "<p>根据指定字段，获取分类数据</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "column",
            "description": "<p>指定分类的字段</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/pro/kind"
      }
    ],
    "filename": "api/pro.js",
    "groupTitle": "商品信息",
    "name": "GetApiProKind"
  },
  {
    "group": "商品信息",
    "type": "get",
    "url": "/api/pro/page",
    "title": "获取分页商品数据",
    "version": "0.0.0",
    "description": "<p>根据页码和单页条数，获取指定分页商品数据</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "index",
            "description": "<p>页码，从0开始</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "num",
            "description": "<p>单页条数</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/pro/page"
      }
    ],
    "filename": "api/pro.js",
    "groupTitle": "商品信息",
    "name": "GetApiProPage"
  },
  {
    "group": "商品信息",
    "type": "get",
    "url": "/api/pro/search",
    "title": "模糊查询商品名称",
    "version": "0.0.0",
    "description": "<p>根据指定关键字，模糊查询商品名称数据</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "s",
            "description": "<p>要查询的关键字</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/pro/search"
      }
    ],
    "filename": "api/pro.js",
    "groupTitle": "商品信息",
    "name": "GetApiProSearch"
  },
  {
    "group": "商品信息",
    "type": "get",
    "url": "/api/pro/sort",
    "title": "排序数据",
    "version": "0.0.0",
    "description": "<p>根据指定排序规则，获取排序商品数据</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "price",
            "description": "<p>默认以价格排序，1升序，-1降序</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/pro/sort"
      }
    ],
    "filename": "api/pro.js",
    "groupTitle": "商品信息",
    "name": "GetApiProSort"
  },
  {
    "group": "用户信息",
    "type": "get",
    "url": "/api/user/get",
    "title": "获取用户信息",
    "version": "0.0.0",
    "description": "<p>获取用户信息</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>登录成功之后，后端颁发的令牌</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"登录成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"用户名或手机号不存在\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/user/get"
      }
    ],
    "filename": "api/user.js",
    "groupTitle": "用户信息",
    "name": "GetApiUserGet"
  },
  {
    "group": "用户信息",
    "type": "get",
    "url": "/api/user/login",
    "title": "登录",
    "version": "0.0.0",
    "description": "<p>登录</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "tel",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"登录成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"用户名或手机号不存在\",\n    data:错误对象\n})\nres.send({\n    code:2,\n    msg:\"密码错误\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/user/login"
      }
    ],
    "filename": "api/user.js",
    "groupTitle": "用户信息",
    "name": "GetApiUserLogin"
  },
  {
    "group": "用户信息",
    "type": "get",
    "url": "/api/user/sendSmS",
    "title": "发送短信验证码",
    "version": "0.0.0",
    "description": "<p>发送短信验证码</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "tel",
            "description": "<p>要发送短信验证码的手机号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/user/sendSmS"
      }
    ],
    "filename": "api/user.js",
    "groupTitle": "用户信息",
    "name": "GetApiUserSendsms"
  },
  {
    "group": "用户信息",
    "type": "post",
    "url": "/api/user/register",
    "title": "注册",
    "version": "0.0.0",
    "description": "<p>注册</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "tel",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>验证码</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请先发送验证码\",\n    data:错误对象\n})\nres.send({\n    code:2,\n    msg:\"验证码错误\",\n    data:错误对象\n})\nres.send({\n    code:3,\n    msg:\"一个手机号只能注册一个账号\",\n    data:错误对象\n})\nres.send({\n    code:4,\n    title:\"用户名重复\",\n    data:\"no data\"\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/user/register"
      }
    ],
    "filename": "api/user.js",
    "groupTitle": "用户信息",
    "name": "PostApiUserRegister"
  },
  {
    "group": "订单",
    "type": "get",
    "url": "/api/order/all",
    "title": "查询所有订单",
    "version": "0.0.0",
    "description": "<p>查询所有订单</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"查询成功\",\n    data:数据\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/order/all"
      }
    ],
    "filename": "api/order.js",
    "groupTitle": "订单",
    "name": "GetApiOrderAll"
  },
  {
    "group": "订单",
    "type": "get",
    "url": "/api/order/one",
    "title": "查询订单详情",
    "version": "0.0.0",
    "description": "<p>查询订单详情</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "orderId",
            "description": "<p>订单id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"查询成功\",\n    data:数据\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/order/one"
      }
    ],
    "filename": "api/order.js",
    "groupTitle": "订单",
    "name": "GetApiOrderOne"
  },
  {
    "group": "订单",
    "type": "get",
    "url": "/api/order/search",
    "title": "搜索订单",
    "version": "0.0.0",
    "description": "<p>搜索订单</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "sKey",
            "description": "<p>要搜索的商品名称关键字</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"查询成功\",\n    data:数据\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/order/search"
      }
    ],
    "filename": "api/order.js",
    "groupTitle": "订单",
    "name": "GetApiOrderSearch"
  },
  {
    "group": "订单",
    "type": "post",
    "url": "/api/order/add",
    "title": "添加订单",
    "version": "0.0.0",
    "description": "<p>添加订单</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "proData",
            "description": "<p>json格式的商品数据</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>json格式的地址数据</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "state",
            "description": "<p>订单状态</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"添加订单成功\",\n    data:\"NO DATA\"\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/order/add"
      }
    ],
    "filename": "api/order.js",
    "groupTitle": "订单",
    "name": "PostApiOrderAdd"
  },
  {
    "group": "订单",
    "type": "post",
    "url": "/api/order/set",
    "title": "修改订单",
    "version": "0.0.0",
    "description": "<p>修改订单</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "orderId",
            "description": "<p>订单id，必传</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>json格式的地址数据，可选</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>订单状态，可选</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"修改订单成功\",\n    data:\"NO DATA\"\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/order/set"
      }
    ],
    "filename": "api/order.js",
    "groupTitle": "订单",
    "name": "PostApiOrderSet"
  },
  {
    "group": "购物车",
    "type": "get",
    "url": "/api/cart",
    "title": "获取购物车",
    "version": "0.0.0",
    "description": "<p>获取购物车数据</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"购物车添加成功\",\n    data:\"NO DATA\"\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/cart"
      }
    ],
    "filename": "api/cart.js",
    "groupTitle": "购物车",
    "name": "GetApiCart"
  },
  {
    "group": "购物车",
    "type": "post",
    "url": "/api/cart/add",
    "title": "添加购物车",
    "version": "0.0.0",
    "description": "<p>添加商品数据到购物车</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "proData",
            "description": "<p>json格式的商品数据</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:0,\n    title:\"不存在该商品\",\n    data:\"NO DATA\"\n})\nres.send({\n    code:1,\n    title:\"购物车添加成功\",\n    data:\"NO DATA\"\n})\nres.send({\n    code:2,\n    title:\"更新数据库成功\",\n    data:\"NO DATA\"\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/cart/add"
      }
    ],
    "filename": "api/cart.js",
    "groupTitle": "购物车",
    "name": "PostApiCartAdd"
  },
  {
    "group": "购物车",
    "type": "post",
    "url": "/api/cart/del",
    "title": "删除购物车",
    "version": "0.0.0",
    "description": "<p>删除购物车指定数据</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "proId",
            "description": "<p>要删除的商品id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"操作成功\",\n    data:\"NO DATA\"\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/cart/del"
      }
    ],
    "filename": "api/cart.js",
    "groupTitle": "购物车",
    "name": "PostApiCartDel"
  },
  {
    "group": "购物车",
    "type": "post",
    "url": "/api/cart/update/allflag",
    "title": "全选状态切换",
    "version": "0.0.0",
    "description": "<p>全选状态切换</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "flag",
            "description": "<p>选中状态</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"操作成功\",\n    data:\"NO DATA\"\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/cart/update/allflag"
      }
    ],
    "filename": "api/cart.js",
    "groupTitle": "购物车",
    "name": "PostApiCartUpdateAllflag"
  },
  {
    "group": "购物车",
    "type": "post",
    "url": "/api/cart/update/flag",
    "title": "单个商品的状态切换",
    "version": "0.0.0",
    "description": "<p>单个商品的状态切换</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "proId",
            "description": "<p>要修改选中状态的商品id</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "flag",
            "description": "<p>选中状态</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"操作成功\",\n    data:\"NO DATA\"\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/cart/update/flag"
      }
    ],
    "filename": "api/cart.js",
    "groupTitle": "购物车",
    "name": "PostApiCartUpdateFlag"
  },
  {
    "group": "购物车",
    "type": "post",
    "url": "/api/cart/update/num",
    "title": "商品的数量修改",
    "version": "0.0.0",
    "description": "<p>商品的数量修改</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "proId",
            "description": "<p>要修改选中状态的商品id</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "num",
            "description": "<p>修改后的数量</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    title:\"操作成功\",\n    data:\"NO DATA\"\n})\nres.send({\n    code: 400,\n    title: \"登录失效，请重新登录\",\n    data: err\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/cart/update/num"
      }
    ],
    "filename": "api/cart.js",
    "groupTitle": "购物车",
    "name": "PostApiCartUpdateNum"
  },
  {
    "group": "轮播图数据",
    "type": "get",
    "url": "/api/banner",
    "title": "获取轮播图数据",
    "version": "0.0.0",
    "description": "<p>获取所有轮播图数据</p>",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Success 200",
            "type": "array",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code:1,\n    msg:\"请求成功\",\n    data:[{},{},{},....]\n})",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "number",
            "optional": false,
            "field": "code",
            "description": "<p>请求状态</p>"
          },
          {
            "group": "Error 4xx",
            "type": "string",
            "optional": false,
            "field": "msg",
            "description": "<p>请求说明</p>"
          },
          {
            "group": "Error 4xx",
            "type": "object",
            "optional": false,
            "field": "data",
            "description": "<p>请求数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "res.send({\n    code:0,\n    msg:\"请求失败\",\n    data:错误对象\n})",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "http://localhost:3000/api/banner"
      }
    ],
    "filename": "api/banner.js",
    "groupTitle": "轮播图数据",
    "name": "GetApiBanner"
  }
] });
